<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>error::basic_errors</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../reference.html" title="Reference">
<link rel="prev" href="error__addrinfo_errors.html" title="error::addrinfo_errors">
<link rel="next" href="error__get_addrinfo_category.html" title="error::get_addrinfo_category">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="error__addrinfo_errors.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="error__get_addrinfo_category.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="boost_asio.reference.error__basic_errors"></a><a class="link" href="error__basic_errors.html" title="error::basic_errors">error::basic_errors</a>
</h3></div></div></div>
<p>
        <a class="indexterm" name="boost_asio.indexterm.error__basic_errors"></a> 
  enum basic_errors
      </p>
<p>
        <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.access_denied"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.address_family_not_supported"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.address_in_use"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.already_connected"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.already_started"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.broken_pipe"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_aborted"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_refused"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.connection_reset"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.bad_descriptor"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.fault"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.host_unreachable"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.in_progress"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.interrupted"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.invalid_argument"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.message_size"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.name_too_long"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_down"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_reset"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.network_unreachable"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_descriptors"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_buffer_space"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_memory"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_permission"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_protocol_option"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.no_such_device"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.not_connected"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.not_socket"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.operation_aborted"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.operation_not_supported"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.shut_down"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.timed_out"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.try_again"></a>
 <a class="indexterm" name="boost_asio.indexterm.error__basic_errors.would_block"></a>
      </p>
<h5>
<a name="boost_asio.reference.error__basic_errors.h0"></a>
        <span class="phrase"><a name="boost_asio.reference.error__basic_errors.values"></a></span><a class="link" href="error__basic_errors.html#boost_asio.reference.error__basic_errors.values">Values</a>
      </h5>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">access_denied</span></dt>
<dd><p>
              Permission denied.
            </p></dd>
<dt><span class="term">address_family_not_supported</span></dt>
<dd><p>
              Address family not supported by protocol.
            </p></dd>
<dt><span class="term">address_in_use</span></dt>
<dd><p>
              Address already in use.
            </p></dd>
<dt><span class="term">already_connected</span></dt>
<dd><p>
              Transport endpoint is already connected.
            </p></dd>
<dt><span class="term">already_started</span></dt>
<dd><p>
              Operation already in progress.
            </p></dd>
<dt><span class="term">broken_pipe</span></dt>
<dd><p>
              Broken pipe.
            </p></dd>
<dt><span class="term">connection_aborted</span></dt>
<dd><p>
              A connection has been aborted.
            </p></dd>
<dt><span class="term">connection_refused</span></dt>
<dd><p>
              Connection refused.
            </p></dd>
<dt><span class="term">connection_reset</span></dt>
<dd><p>
              Connection reset by peer.
            </p></dd>
<dt><span class="term">bad_descriptor</span></dt>
<dd><p>
              Bad file descriptor.
            </p></dd>
<dt><span class="term">fault</span></dt>
<dd><p>
              Bad address.
            </p></dd>
<dt><span class="term">host_unreachable</span></dt>
<dd><p>
              No route to host.
            </p></dd>
<dt><span class="term">in_progress</span></dt>
<dd><p>
              Operation now in progress.
            </p></dd>
<dt><span class="term">interrupted</span></dt>
<dd><p>
              Interrupted system call.
            </p></dd>
<dt><span class="term">invalid_argument</span></dt>
<dd><p>
              Invalid argument.
            </p></dd>
<dt><span class="term">message_size</span></dt>
<dd><p>
              Message too long.
            </p></dd>
<dt><span class="term">name_too_long</span></dt>
<dd><p>
              The name was too long.
            </p></dd>
<dt><span class="term">network_down</span></dt>
<dd><p>
              Network is down.
            </p></dd>
<dt><span class="term">network_reset</span></dt>
<dd><p>
              Network dropped connection on reset.
            </p></dd>
<dt><span class="term">network_unreachable</span></dt>
<dd><p>
              Network is unreachable.
            </p></dd>
<dt><span class="term">no_descriptors</span></dt>
<dd><p>
              Too many open files.
            </p></dd>
<dt><span class="term">no_buffer_space</span></dt>
<dd><p>
              No buffer space available.
            </p></dd>
<dt><span class="term">no_memory</span></dt>
<dd><p>
              Cannot allocate memory.
            </p></dd>
<dt><span class="term">no_permission</span></dt>
<dd><p>
              Operation not permitted.
            </p></dd>
<dt><span class="term">no_protocol_option</span></dt>
<dd><p>
              Protocol not available.
            </p></dd>
<dt><span class="term">no_such_device</span></dt>
<dd><p>
              No such device.
            </p></dd>
<dt><span class="term">not_connected</span></dt>
<dd><p>
              Transport endpoint is not connected.
            </p></dd>
<dt><span class="term">not_socket</span></dt>
<dd><p>
              Socket operation on non-socket.
            </p></dd>
<dt><span class="term">operation_aborted</span></dt>
<dd><p>
              Operation cancelled.
            </p></dd>
<dt><span class="term">operation_not_supported</span></dt>
<dd><p>
              Operation not supported.
            </p></dd>
<dt><span class="term">shut_down</span></dt>
<dd><p>
              Cannot send after transport endpoint shutdown.
            </p></dd>
<dt><span class="term">timed_out</span></dt>
<dd><p>
              Connection timed out.
            </p></dd>
<dt><span class="term">try_again</span></dt>
<dd><p>
              Resource temporarily unavailable.
            </p></dd>
<dt><span class="term">would_block</span></dt>
<dd><p>
              The socket is marked non-blocking and the requested operation would
              block.
            </p></dd>
</dl>
</div>
<h5>
<a name="boost_asio.reference.error__basic_errors.h1"></a>
        <span class="phrase"><a name="boost_asio.reference.error__basic_errors.requirements"></a></span><a class="link" href="error__basic_errors.html#boost_asio.reference.error__basic_errors.requirements">Requirements</a>
      </h5>
<p>
        <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/error.hpp</code>
      </p>
<p>
        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher
      M. Kohlhoff<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="error__addrinfo_errors.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="error__get_addrinfo_category.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
